package com.yun.platform.iot.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目表
 *  @author: Hanson  2022-11-24
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("project")
public class Project implements Serializable {


    /**
     * id
     */
	private Integer id;

    /**
     * 项目名称
     */
	private String projectName;

    /**
     * 项目图片
     */
	private String projectPic;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
	private Date createTime=new Date();

    /**
     * 创建者
     */

	private String createBy;

    /**
     * 租户ID
     */
	private Integer tenantId;

	
}